GUI Help > Special > setUpDownPosition

setUpDownPosition
setUpDownPosition handle gadget, int position

Description:
Sets the current value of an UpDown control. This must be between the allowed range set with setUpDownRange. The text of the buddy gadget will be updated to reflect the new value.

Return Value:


Parameters:
gadget Handle to an UpDown gadget
position New value of UpDown gadget.
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)